home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++ / leda / 53 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: sargas.omicron.se!elias
  2. From: elias@omicron.se (Elias Martenson)
  3. Newsgroups: comp.lang.smalltalk,comp.lang.perl.misc,comp.lang.pascal.borland,comp.lang.eiffel,comp.lang.cobol,comp.lang.c++.leda,comp.lang.c,comp.lang.basic.visual.3rdparty,alt.computer.workshop.live,alt.comp.hardware.homebuilt,alt.clearing.technology,alt.chinese.computing,news.newusers.questions
  4. Subject: Re: PROGRAMERS OF ANY LANGUAGE
  5. Date: 12 Apr 1996 12:10:25 GMT
  6. Organization: Omicron
  7. Message-ID: <4klh7h$2je@sargas.omicron.se>
  8. References: <Pine.SOL.3.91.960329010021.13209A-100000@harvey> <316A6189.4287@wight.hursley.ibm.com> <4kebqq$4qs@Starbase.NeoSoft.COM> <316B7C8C.794B@wight.hursley.ibm.com> <4kh3fqINNmuv@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: graffias.omicron.se
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=US-ASCII
  12. Content-Transfer-Encoding: 7bit
  13. X-Newsreader: NN version 6.5.0 #2 (NOV)
  14.  
  15. c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
  16.  
  17. > >I like to use these features of vi, too, and I suppose it's sort of an
  18. > >argument for using them, but I don't think an editor should dictate language
  19. > >features or coding style. I think I tend to agree with you. I use the vi
  20. > >features to check the matching curlies, and for navigation, but with
  21. > >sensitive indentation, I would not need to check them, but I would miss the
  22. > >ability to jump to the start/end of a block. I'm not sure on this one.
  23.  
  24. >Those curlies appear in languages other than C, for which the syntax-directed
  25. >indentation method would fail, but the simple { } matching still works. I make
  26. >frequent use of it in TeX code, which would not benefit from a blind
  27. >application of C-style indentation at all.
  28.  
  29. >The matching is also helpful in typing ordinary english. Square brackets are
  30. >often used in quotes to indicate editorial material, (and parentheses go
  31. >without saying).
  32.  
  33. Need I say that Emacs indents and matches anything?
  34. You have a variable where you can set what should be matched by what.
  35.  
  36. --
  37. Elias Martenson                            ! When I come up with a good joke,
  38. elias@omicron.se                           ! it will be here.
  39.